package ysq.xyg.service;

import com.github.pagehelper.PageInfo;
import ysq.xyg.model.Cart;
import ysq.xyg.model.info.ReturnInfo;

/**
 * 购物车
 *
 * @author congcong tao
 * @create 2018/8/9 下午8:51
 */
public interface CartService extends  BaseService<Cart> {

    /**
     * 分页查询
     */
    PageInfo<Cart> pageInfo(Cart cart, int pageSize, int pageNum);

    /**
     * 清空购物车
     */
    ReturnInfo emptyCart(String memberId, String cartJson);
}
